package edu.umn.ftpmaster;

import java.io.Serializable;

public class Command implements Serializable{
	private static final long serialVersionUID = -8324860847127752934L;
	
	private String option,extraMessage;
	private Location add;
	private String eventName;
	public Command(String option, Location ll, String name,String message){
		this.option=option;
		add = ll;
		eventName = name;
		extraMessage = message;
		
	}
	public String getMessage(){
		return extraMessage;
	}

	public String getName(){
		return eventName;
	}
	public Location getLocation(){
		return add;
	}
	public String getOption()
	{
		return option;
	}
}
